<template>
  <div>
    <nar-bar>
      <div slot="center">购物车({{Len}})</div>
    </nar-bar>

    <cart-list></cart-list>
  </div>
</template>

<script>
import NarBar from "@/components/common/navbar/NarBar";
import CartList from "@/view/cat/child/CartList";
import {mapGetters} from 'vuex'
export default {
  name: "Car",
  components:{
    NarBar,
    CartList
  } ,
  computed:{
    ...mapGetters(['Len'])
  }

}
console.log("我是car")
</script>

<style scoped>

</style>